package net.hn.hnms.biz.safety.trinity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 智呈物联 nzw
 * @date 2022/8/4
 */
@Data
@Entity
@ApiModel("隐患验收表")
@Table(name = "hidden_danger_accept")
public class HiddenDangerAccept {

    @ApiModelProperty(value = "束管信息ID")
    @TableId(value = "danger_accept_id")
    @Id
    private String id;

    @Column(name = "mine_code")
    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @Column(name = "danger_id")
    @ApiModelProperty(value = "隐患ID")
    private String dangerId;

    @Column(name = "accept_date")
    @ApiModelProperty(value = "验收时间")
    private Date acceptDate;

    @Column(name = "accept_dept_codes")
    @ApiModelProperty(value = "验收部门编码")
    private String acceptDeptCodes;

    @Column(name = "accept_dept_names")
    @ApiModelProperty(value = "验收部门名称")
    private String acceptDeptNames;

    @Column(name = "accept_person_codes")
    @ApiModelProperty(value = "验收人编码")
    private String acceptPersonCodes;

    @Column(name = "accept_person_names")
    @ApiModelProperty(value = "验收人名称")
    private String acceptPersonNames;

    @Column(name = "accept_type")
    @ApiModelProperty(value = "验收类型0：督办验收、1：部门验收")
    private String acceptType;

    @Column(name = "accept_result")
    @ApiModelProperty(value = "验收结果（01：02：03）")
    private String acceptResult;

    @Column(name = "accept_opinion")
    @ApiModelProperty(value = "验收意见")
    private String acceptOpinion;

    @Column(name = "data_time")
    @ApiModelProperty(value = "数据时间")
    private Date dataTime;

    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private String createTime;


}
